home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_10_04
/
1004092a
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1992-02-08
|
216 b
|
19 lines
#include <stdio.h>
enum node_type {Error, Char, Int, Double, String};
typedef struct {
enum node_type type;
union {
char c;
int i;
double d;
char *s;
} value;
} node;
void push(node);
node pop(void);